package com.hhs.storage.dao;

import com.hhs.storage.bean.Contract;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hhs.storage.bean.InputParam;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hhs
 * @since 2022-11-30
 */
public interface ContractDao extends BaseMapper<Contract> {

//    待办工作台预警 业务员角色   查询该用户是否有初审被驳回的合同
    List<Contract> getCheckReturn(String userId);

    //查询个人的合同
    List<Contract> queryBySelfContract(InputParam inputParam);
    long queryBySelfContractCount(InputParam inputParam);
}
